package com.wufan.day03;

/**
 * @author SongWufan
 * @date 2021/3/6 20:51
 */
public class Customer {
    String name;
    int age;
    boolean isMale;

    public void eat(){
        System.out.println("顾客吃饭");
    }

    public void sleep(int hour){
        System.out.println("休息了"+hour+"小时");
    }

    public String getName(){
        return name;
    }

    public String getNation(String nation){
        String info = "我的国籍是"+nation;
        return info;
    }

}
